Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: extract temporary types into express.locals #683

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

mantariksh
Copy link
Contributor

Temporary types are being declared in multiple places to deal with local variables set on Express request/response objects, such as req.form and res.locals. This PR pulls them all into one place so they can easily be removed when they are no longer needed.

@mantariksh mantariksh requested review from karrui and tshuli November 19, 2020 04:58
@mantariksh mantariksh changed the title ref: extract temporary types into express.locals refactor: extract temporary types into express.locals Nov 19, 2020
@mantariksh mantariksh merged commit 95aa4b4 into develop Nov 19, 2020
@mantariksh mantariksh mentioned this pull request Nov 24, 2020
@liangyuanruo liangyuanruo deleted the ref/common-locals branch January 26, 2021 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants